﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using nplJobsDAL.Select;

namespace nplJobsBLL.Common
{
    public class ProcessWhatWhereData
    {
        public List<string> Data { get; set; }
        public string txt { get; set; }

        public void GetWhatData()
        {
            SelectWhatDataList what = new SelectWhatDataList();
            what.txt = this.txt;
            this.Data = what.GetWhatData();
        }

        public void GetWhereData()
        {
            SelectWhereDataList where = new SelectWhereDataList();
            where.txt = this.txt;
            this.Data = where.GetWereData();
        }
    }
}
